﻿/**
*
*创建人：lixiong
*创建时间：2018/5/8 16:23:09
*说明：
*版权所有：Copyright  2018 行圆汽车-分发业务中心
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYAuto.Monitor.IocUnity.Test.Service;
using XYAuto.Monitor.IocUnity.Test.Service.Domain;

namespace XYAuto.Monitor.IocUnity.Test
{
    public class UserClient
    {
        private readonly IUserService _userService;

        public UserClient(IUserService userService)
        {
            _userService = userService;
        }

        public List<UserInfo> Execute()
        {
            return _userService.GetAll();
        }
    }
}
